其他
Github+Hexo博客搭建小白教程(三)
2git clone -b develop https://github.com/blinkfox/hexo-theme-matery themes/matery #最新版(不定期进行优化更新)
2title: tags
3date: 2018-09-30 18:23:38
4type: "tags"
5layout: "tags"
6---
2title: categories
3 date: 2018-09-30 17:25:30
4 type: "categories"
5 layout: "categories"
6 ---
2title: about
3date: 2018-09-30 17:25:30
4type: "about"
5layout: "about"
6---
2title: contact
3date: 2018-09-30 17:25:30
4type: "contact"
5layout: "contact"
6---
注:本留言板功能依赖于第三方评论系统,请激活你的评论系统才有效果。并且在主题的 _config.yml
文件中,第19
至21
行的“菜单”配置,取消关于留言板的注释即可。
2title: friends
3date: 2018-12-12 21:25:30
4type: "friends"
5layout: "friends"
6---
2 "avatar": "http://image.luokangyuan.com/1_qq_27922023.jpg",
3 "name": "码酱",
4 "introduction": "我不是大佬,只是在追寻大佬的脚步",
5 "url": "http://luokangyuan.com/",
6 "title": "前去学习"
7}, {
8 "avatar": "http://image.luokangyuan.com/4027734.jpeg",
9 "name": "闪烁之狐",
10 "introduction": "编程界大佬,技术牛,人还特别好,不懂的都可以请教大佬",
11 "url": "https://blinkfox.github.io/",
12 "title": "前去学习"
13},{
14 "name": "过客~励む",
15 "avatar": "https://yafine-blog.cn/medias/avatar.jpg",
16 "url": "https://yafine-blog.cn",
17 "introduction": "你现在的努力,是为了以后有更多的选择",
18 "title": "前去学习"
19},{
20 "name": "小师弟",
21 "avatar": "https://cdn.jsdelivr.net/gh/Yafine/Yafine-imgs/images/xiaoshidi.jpg",
22 "url": "https://www.liuyao-blog.cn",
23 "introduction": "一个喜欢嵌入式的小码农",
24 "title": "前去学习"
25}]
2 Index:
3 url: /
4 icon: fas fa-home
5 Tags:
6 url: /tags
7 icon: fas fa-tags
8 Categories:
9 url: /categories
10 icon: fas fa-bookmark
11 Archives:
12 url: /archives
13 icon: fas fa-archive
14 About:
15 url: /about
16 icon: fas fa-user-circle
17 Friends:
18 url: /friends
19 icon: fas fa-address-book
2 Index:
3 url: /
4 icon: fas fa-home
5 Tags:
6 url: /tags
7 icon: fas fa-tags
8 Categories:
9 url: /categories
10 icon: fas fa-bookmark
11 Archives:
12 url: /archives
13 icon: fas fa-archive
14 About:
15 url: /about
16 icon: fas fa-user-circle
17 Contact:
18 url: /contact
19 icon: fas fa-comments
20 Friends:
21 url: /friends
22 icon: fas fa-address-book
23 二级菜单写法如下
24 Medias:
25 icon: fas fa-list
26 children:
27 - name: Musics
28 url: /musics
29 icon: fas fa-music
30 - name: Movies
31 url: /movies
32 icon: fas fa-film
33 - name: Books
34 url: /books
35 icon: fas fa-book
36 - name: Galleries
37 url: /galleries
38 icon: fas fa-image
2 enable: true
3 className: github-emoji
4 inject: true
5 styles:
6 customEmojis:
2 mode: 'preprocess' # realtime/preprocess
3 theme: 'tomorrow'
4 line_number: false # default false
5 custom_css:
2 path: search.xml
3 field: post
2 enable: true
3 separator: '-' # default: '-'
2 enable: false # 将这个值设置为 true 即可.
3 postWordCount: true
4 min2read: true
5 totalCount: true
2 type: atom
3 path: atom.xml
4 limit: 20
5 hub:
6 content:
7 content_limit: 140
8 content_limit_delim: ' '
9 order_by: -date
2 <a href="<%= theme.socialLink.github %>" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
3 <i class="fab fa-github"></i>
4 </a>
5<% } %>
Facebook: fab fa-facebook Twitter: fab fa-twitter Google-plus: fab fa-google-plus Linkedin: fab fa-linkedin Tumblr: fab fa-tumblr Medium: fab fa-medium Slack: fab fa-slack Sina Weibo: fab fa-weibo Wechat: fab fa-weixin QQ: fab fa-qq Zhihu: fab fa-zhihu
注意: 本主题中使用的Font Awesome版本为5.11.0。
2 "artist": "AnimeVibe",
3 "url": "http://xxx.com/music1.mp3",
4 "cover": "http://xxx.com/music-cover1.png"
5}, {
6 "name": "Take me hand",
7 "artist": "DAISHI DANCE,Cecile Corbel",
8 "url": "/medias/music/music2.mp3",
9 "cover": "/medias/music/cover2.png"
10}, {
11 "name": "Shape of You",
12 "artist": "J.Fla",
13 "url": "http://xxx.com/music3.mp3",
14 "cover": "http://xxx.com/music-cover3.png"
15}]
注:以上 JSON 中的属性:name、artist、url、cover分别表示音乐的名称、作者、音乐文件地址、音乐封面。
2# 是否在首页显示音乐.
3music:
4 enable: true
5 showTitle: true
6 title: 听听音乐
7 fixed: false # 开启吸底模式
8 autoplay: false # 是否自动播放
9 theme: '#42b983'
10 loop: 'all' # 音频循环播放, 可选值: 'all', 'one', 'none'
11 order: 'list' # 音频循环顺序, 可选值: 'list', 'random'
12 preload: 'auto' # 预加载,可选值: 'none', 'metadata', 'auto'
13 volume: 0.7 # 默认音量,请注意播放器会记忆用户设置,用户手动设置音量后默认音量即失效
14 listFolded: false # 列表默认折叠
15 listMaxHeight: #列表最大高度
微信公众号:果果小师弟
关注可了解获取更多的免费资料;
如果你觉得文章对你有帮助,转发分享,欢迎赞赏最后
10T资源大放送!包括但不限于:C/C++,Linux,Python,Java,PHP,人工智能,PCB、FPGA、DSP、单片机、等等!在公众号内回复「更多资源」,即可免费获取,期待你的关注!!!